package com.juyu.miliao.common.msg;

public class DetailErrorMsg extends ErrorMsg{
	private final Object detail;

	public DetailErrorMsg(ErrorMsg source, Object detail) {
		super(source.getStatus(), source.getError(), source.getMsg());
		this.detail = detail;
	}

	public DetailErrorMsg(ErrorMsg source, String msg, Object detail) {
		super(source.getStatus(), source.getError(), msg);
		this.detail = detail;
	}
	
	public Object getDetail() {
		return detail;
	}
	
}
